import Layout from '@/layout'

const Router = {
    path: '/blindBox',
    component: Layout,
    redirect: 'blindBox-list',
    meta: {
        title: '盲盒运营管理',
        icon: 'box'
    },
    children: [
        {
            path: 'blindBox-list',
            component: (resolve) => require(['@/views/blindBox/blindBoxList'], resolve),
            name: '盲盒活动列表',
            meta: { title: '盲盒活动列表',  noCache: true, affix: true }
        },
        {
            path: 'add-blindBox',
            component: (resolve) => require(['@/views/blindBox/addBlindBox'], resolve),
            name: '新增盲盒活动',
            meta: { title: '新增盲盒活动',  noCache: true, affix: true } 
        },
        {
            path: 'activity-detail',
            component: (resolve) => require(['@/views/blindBox/activityDetail'], resolve),
            name: '活动详情',
            meta: { title: '活动详情',  noCache: true, affix: true } 
        },
        {
            path: 'box-set',
            component: (resolve) => require(['@/views/blindBox/boxSet'], resolve),
            name: '盲盒奖品配置',
            meta: { title: '盲盒奖品配置',  noCache: true, affix: true } 
        },
        {
            path: 'jackpot-set',
            component: (resolve) => require(['@/views/blindBox/jackpotSet'], resolve),
            name: '奖池奖品配置',
            meta: { title: '奖池奖品配置',  noCache: true, affix: true } 
        },
        {
            path: 'quiz-List',
            component: (resolve) => require(['@/views/blindBox/quiz/quizList'], resolve),
            name: '竞猜活动配置',
            meta: { title: '竞猜活动配置',  noCache: true, affix: true } 
        },
        {
            path: 'quiz-config-one',
            component: (resolve) => require(['@/views/blindBox/quiz/quizConfigOne/index'], resolve),
            name: '支持竞猜活动配置',
            meta: { title: '支持竞猜活动配置',  noCache: true, affix: true } 
        },
        {
            path: 'quiz-betting-one',
            component: (resolve) => require(['@/views/blindBox/quiz/quizBettingOne/index'], resolve),
            name: '支持竞猜投注明细',
            meta: { title: '支持竞猜投注明细',  noCache: true, affix: true } 
        },
        {
            path: 'quiz-config-two',
            component: (resolve) => require(['@/views/blindBox/quiz/quizConfigTwo/index'], resolve),
            name: '冠军竞猜活动配置',
            meta: { title: '冠军竞猜活动配置',  noCache: true, affix: true } 
        },
        {
            path: 'quiz-betting-two',
            component: (resolve) => require(['@/views/blindBox/quiz/quizBettingTwo/index'], resolve),
            name: '冠军竞猜投注明细',
            meta: { title: '冠军竞猜投注明细',  noCache: true, affix: true } 
        },
        {
            path: 'selectionActivities-List',
            component: (resolve) => require(['@/views/blindBox/selectionActivities/index'], resolve),
            name: '精选活动配置',
            meta: { title: '精选活动配置',  noCache: true, affix: true } 
        },
        {
            path: 'timeLimitActivities-List',
            component: (resolve) => require(['@/views/blindBox/timeLimitActivities/index'], resolve),
            name: '神椰任务配置',
            meta: { title: '神椰任务配置',  noCache: true, affix: true } 
        },
        {
            path: 'add-timeLimitActivities',
            component: (resolve) => require(['@/views/blindBox/timeLimitActivities/add'], resolve),
            name: '',
            meta: { title: '新增限时任务',  noCache: true, affix: true } 
        },
        {
            path: 'timeLimitActivities-detail',
            component: (resolve) => require(['@/views/blindBox/timeLimitActivities/detail'], resolve),
            name: '',
            meta: { title: '任务详情',  noCache: true, affix: true } 
        },
        {
            path: 'boxOrder-List',
            component: (resolve) => require(['@/views/blindBox/boxOrder/index'], resolve),
            name: '盲盒订单列表',
            meta: { title: '盲盒订单列表',  noCache: true, affix: true } 
        },
    ]
},

export default Router
